'use strict'

const domdate = require('./crawler/domdata');
const article=require('./model/article');
const fs=require('fs');
const url = 'https://www.cnblogs.com/sitehome/p/';

article.sync({force:true});
for (var i = 1; i <= 200; i++) {
    var surl = url + i;
    domdate(surl);
}